﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace WindowsFormsApplication1
{
    class Values
    {
        public int heartbeat { get; set; }
        public int rpm { get; set; }
        public int speed { get; set; }
        public double distance { get; set; }    // in km
        public int desiredPower { get; set; }
        public float energy { get; set; }
        public Stopwatch stopwatch { get; set; }
        public int currentPower { get; set; }
        public long setTimeSeconds {get; set;}

        public Values()
        {
            heartbeat = 0;
            rpm = 0;
            speed = 0;
            distance = 0;
            desiredPower = 0;
            energy = 0;
            stopwatch = new Stopwatch();
            currentPower = 0;
            setTimeSeconds = 0;
        }

        public void Reset()
        {
            heartbeat = 0;
            rpm = 0;
            speed = 0;
            distance = 0;
            desiredPower = 0;
            energy = 0;
            stopwatch.Reset();
            currentPower = 0;
            setTimeSeconds = 0;
        }
    }
}
